<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>组内权限管理</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/jquery-1.12.4.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/common/bootstrap/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/pageJs/grouping/JunridictionPowe.js"></script>
    <%--下拉多选--%>
    <script type="text/javascript" src="${pageContext.request.contextPath}/common/bootstrap/js/bootstrap-select.js">
    </script>
</head>
<body>
<div class="container">
    <div class="panel-heading">
        <button class="btn btn-primary">返回随访组</button>
        <h1>权限管理</h1>
    </div>
    <div class="panel-body">
        <form action="" id="formPowertable" method="post" class="form-horizontal">
            <div class="col-sm-12">
                <div class="form-group col-sm-1">
                    <label for="roleName" class="control-label">角色名称:
                    </label>
                </div>
                <div class=" col-sm-2">
                    <input type="text" class="form-control" id="roleName" name="roleName">
                </div>
                <div class="form-group col-sm-1">
                    <label for="beizhu" class="control-label">备注:
                    </label>
                </div>
                <div class=" col-sm-3">
                    <input type="text" class="form-control" id="beizhu" name="beizhu">
                </div>
            </div>
            <div class="col-sm-12">
                <div class="form-group col-sm-1 ">
                    <button id="jiansuo" type="button" class="btn btn-primary btn-block">检索</button>
                </div>
                <div class="form-group col-sm-1 ">
                    <button id="qingkong" type="button" class="btn btn-primary btn-block">清空</button>
                </div>
            </div>
            <div class="col-sm-12">
                <div class=" col-sm-1">
                    <label><input type="checkbox" id="listCheckbox" onclick="checkAll()"></label>
                </div>
                <div class=" col-sm-1">
                    <button type="button" id="xinzeng" class="btn btn-primary btn-block">新增</button>
                </div>
                <div class="form-group col-sm-1">
                    <button type="button" id="xiugai" class="btn btn-primary btn-block">修改</button>
                </div>
                <div class=" col-sm-1">
                    <button type="button" id="shanchu" class="btn btn-primary btn-block">删除</button>
                </div>
            </div>
        </form>
        <div class="col-sm-12">
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th></th>
                    <th>角色级别</th>
                    <th>角色名称</th>
                    <th>用户</th>
                    <th>权限</th>
                </tr>
                </thead>
                <tbody id="powertable">

                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>